package client;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;
import java.rmi.server.RemoteRef;
import java.util.Scanner;

public class Client {
	
	public static final int ADD = 1;
	public static final int SUBTRACT = 2;
	public static final int MULTIPLY = 3;
	public static final int DIVIDE = 4;

	public static void main(String[] args) {
		Client client=new Client();
		client.run();
	}
	
	public void run() {
		//Tekstinterface
	}

	public int doOperation(String ip, int port, int operationId, int a, int b) {
		
		int result=-1;
		
		//Opret forbindelse til serveren
		//Send operationId, a og b
		//Modtag resultatet
		//Luk forbindelsen
	
		return result;
	}

}
